of

public static MouseEvent.Button of(int number)

Returns the Button instance for the given value.

Throws

when there is no button associated with the given value